package serverside;

import org.junit.After;
import org.junit.AfterClass;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Test;
import static org.junit.Assert.*;

/**
 *
 * @author Sweelam
 */
public class ATMTest {
    
    public ATMTest() {
    }
    
    @BeforeClass
    public static void setUpClass() {
    }
    
    @AfterClass
    public static void tearDownClass() {
    }
    
    @Before
    public void setUp() {
    }
    
    @After
    public void tearDown() {
    }

    /**
     * Test of isUserAuthenticated method, of class ATM.
     */
    @Test
    public void testIsUserAuthenticated() {
        System.out.println("isUserAuthenticated");
        ATM instance = new ATM();
        boolean expResult = false;
        boolean result = instance.isUserAuthenticated();
        assertEquals(expResult, result);
       }

    /**
     * Test of authenticateUser method, of class ATM.
     */
    @Test
    public void testAuthenticateUser() {
        System.out.println("authenticateUser");
        String _CardID = "20102";
        String PIN = "5555";
        ATM instance = new ATM();
        instance.authenticateUser(_CardID, PIN);
        
    }

    /**
     * Test of fastCash method, of class ATM.
     */
    @Test
    public void testFastCash() {
        System.out.println("fastCash");
        String amount = "";
        ATM instance = new ATM();
        String expResult = "";
        String result = instance.fastCash(amount);
        assertEquals(expResult, result);
    }
}
